﻿#pragma once

#include "src/bend/dao/clouds/daocloudscos.h"
#include <QObject>
#include <QtTest>
class TestCos : public QObject
{
    Q_OBJECT

public:
    TestCos(QObject* parent = nullptr);
    ~TestCos();

private slots:
    void initTestCase();
    void cleanupTestCase();
    void test_buckets();
    void test_bucketExists();
    void test_bucketLocation();
    void test_putBucket();

private:
    DaoCloudsCos m_cos;
    QString      m_secretId   = "AKIDRjpkS0NVO3XrAIDyYIrMnK5e1Jf4b8lI";
    QString      m_secretKey  = "Ur69WnriQtPitpXzDBuRowpgNs89yZTK";
    QString      m_bucketName = "helloworld123-1320903609";
};
